package cn.bonoon.entities;

import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;

/**
 * 直接给某一个账号的某个菜单的操作权限
 * @author jackson
 *
 */
@Entity
public class AccountPrivilegeEntity extends PrivilegeEntity{

	private static final long serialVersionUID = 4002575545569919725L;

	@ManyToOne
	@JoinColumn(name = "R_ACCOUNT_ID")
	private AccountEntity account;

	public AccountEntity getAccount() {
		return account;
	}

	public void setAccount(AccountEntity account) {
		this.account = account;
	}
	
	
}
